package top.go2do.deviceSync.exception;

/**
 * @author xingyuji
 * @date 2025/3/18 06:40
 * @description
 */
public enum DeviceSyncErrorCode {
    DEVICE_ID_NOT_EXIST(2404, "device.device_id_not_exist"),
    DEVICE_ID_EXIST(2409, "device.device_id_exist");


    private final int code;
    private final String msgKey;

    DeviceSyncErrorCode(int code, String msgKey) {
        this.code = code;
        this.msgKey = msgKey;
    }

    public int getCode() {
        return code;
    }

    public String getMsgKey() {
        return msgKey;
    }
}
